package by.amakarevich.services;



import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import by.amakarevich.datamodel.Kit;
import by.amakarevich.datamodel.Product;

public interface KitService {
	@Transactional
	void createNewKit(Kit kit, Product product);
	
	@Transactional
	Kit get(Long id);
	
	@Transactional
	void updateKit(Kit kit);
	
	@Transactional
	void removeKit(Long id);
	
	@Transactional
    void deleteAll();
	
	List <Kit> getAllKit();
	
	Kit getByProductId(Product product);
}
